package com.ctshk.rpc.order.tour.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value="系列团订单计算Req", description="系列团订单计算Req")
public class SeriesOrderCalculationReq implements Serializable {

    @ApiModelProperty(value = "渠道id")
    private Long channelId;

    @NotNull(message = "团期ID不能为空")
    @ApiModelProperty(value = "团期ID",required = true)
    private Long scheduleId;

    @NotNull(message = "房间数不能为空")
    @ApiModelProperty(value = "房间数",required = true)
    private Integer roomNum;

    @NotNull(message = "游客集合不能为空")
    @ApiModelProperty(value = "游客集合",required = true)
    List<SeriesOrderTouristReq> touristList;

    @ApiModelProperty(value = "用户Id")
    private Long userId;

}
